package com.nut.lmsc.service;

import com.nut.lmsc.common.Result;
import com.nut.lmsc.entity.MemberAddress;

import java.io.Serializable;
import java.util.List;
import java.util.Set;


public interface MemberAddressService {

    Result<List<MemberAddress>> list(Long memberId);

    Result<MemberAddress> getById(Serializable id);

    Result add(MemberAddress memberAddress);

    Result updateById(MemberAddress memberAddress);

    Result deleteByIds(Set<Integer> ids);

}